import dayjs from "dayjs";

export const formatMonthDay = (date, format = 'MM月DD日') => {
  return dayjs(date).format(format);
}

export const getDiffDays = (startDay, endDay) => {
  return dayjs(endDay).diff(startDay, 'day')
}